@import "3-less-函数.less";

#style() {
  .button {
    border: 1px solid blue;
    background-color: orange;
    color: white
  }
  .box {
    width: 300px;
    height: 300px;
    border: 1px solid #333;
  }
  primary: blue
}

div {
  #style.box();
  color: #style[primary];
  /*
    color: red
  */
  // color: red
}